﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
<script language="javascript">
	$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
});  
</script> 

</head>

<body style="background-color:#1c77ac; background-image:url(<?php echo image_path('light.png'); ?>); background-repeat:no-repeat; background-position:center top; overflow:hidden;">



    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div>  


<div class="logintop">    
    <span>您好！欢迎使用后台管理系统</span>    
    <ul>
    <!--<li><a href="#">回首页</a></li>-->
    </ul>    
    </div>
    
    <div class="loginbody">
    
    <span class="systemlogo"></span> 
       
    <div class="loginbox">
        <form action="" method="post" enctype="multipart/form-data">
    <ul>
    <li><input name="username" type="text" class="loginuser" value="" /></li>
    <li><input name="password" type="password" class="loginpwd" value="" /></li>
    <li><input type="submit" class="loginbtn" value="登录"  />
       
            <?php if ($sf_user->hasFlash('error')): ?>
                        <label style="color:red"> <?php echo $sf_user->getFlash('error'); ?></label>
            <?php endif; ?>
                    <?php if ($sf_user->hasFlash('success')): ?>
                        <label style="color:green"> <?php echo $sf_user->getFlash('success'); ?></label>
            <?php endif; ?>
<!--        <label><input name="" type="checkbox" value="" checked="checked" />记住密码</label>
        <label><a href="#">忘记密码？</a></label>-->
    </li>
    </ul>
        </form>
    
    </div>
    
    </div>
    
    
    
<!--    <div class="loginbm">版权所有  2013  <a href="http://www.uimaker.com">uimaker.com</a>  仅供学习交流，勿用于任何商业用途</div>-->
	
    
</body>

</html>
